package org.lgl.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author lgl
 * @date 2022/2/24 17:43
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"org.lgl.goods.api"})
@ComponentScan(basePackages = {"org.lgl.common","org.lgl.order"})
public class OrderServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderServerApplication.class, args);
    }
}
